//
//  DataExtensions.swift
//  Pods
//
//  Created by tom on 2025/9/28.
//

extension Data{
    func toLitteEndianInt32()throws ->Int{
        var binary = Binary(bytes: [UInt8](self).reversed())
        return try binary.readSignedBytes(4)
    }
}
